package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 照片表
 * @author ${author}
 * @since 2020-05-29
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygPhoto implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 逝者ID
    private Integer dmId;

    // 照片说明
    private String remark;

    // 照片url
    private String photoUrl;

    // 图片宽度*图片高度
    private String wh;

    // 排序序号
    private Integer no;

    // 是否设置为家庭照
    private Boolean isFamily;

    /**
     * 是否逻辑删除
     */
    @TableLogic
    private Boolean isDel;

}
